package com.xigua.chapter_3_template.example;

/**
 * @author LiRongHua
 * @Title: ${file_name}
 * @Package ${package_name}
 * @Description: ${todo}
 * @date 2022/3/2922:38
 */
public class Main {

    public static void main(String[] args) {
        AbstractDisplay charDisplay = new CharDisplay('H');
        AbstractDisplay strDisplay = new StrDisplay("hello");
        charDisplay.display();
        strDisplay.display();
    }

}
